#!/bin/bash

JVM_OPTS="-Dspring.cloud.nacos.server-addr=${NACOS_SERVER} -Dspring.cloud.nacos.config.namespace=${PROJECT_CODE} -Dspring.cloud.nacos.discovery.namespace=${PROJECT_CODE} -Dspring.cloud.nacos.discovery.server-addr=${NACOS_SERVER} -Dspring.application.name=${APP} -Dspring.profiles.active=${ENVIRONMENT} -Dspring.cloud.nacos.discovery.group=${ENVIRONMENT}"


java -jar ${JVM_ARGS} ${JVM_OPTS} /opt/deploy/backend-demo-1.0-SNAPSHOT.jar

